<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %>

<link rel="stylesheet" type="text/css" href="/css/seminar.css"/>
<script src="/js/seminar.js"></script>
<script type="text/javascript">
	$(document).ready(function(){
		// 좌측 메뉴 하일라이팅.
		$("ul.Left_sMenu_area").eq(0).find("a:eq(4)").css({"font-weight": "bold","color": "black"});
	});
</script>
<form id="deleteForm1" method="POST" action="/seminar/seminarDeleteFile.desk">
	<input type="hidden" name="fileSeq1" value="<s:property value="seminarInfoDetail.fileSeq1"/>"/>
	<input type="hidden" id="seminarSeq" name="seminarSeq" value="<s:property value="seminarSeq"/>"/>
	<input type="hidden" id="pathName" name="pathName" value="<s:property value="seminarInfoDetail.pathName"/>"/>	
	<input type="hidden" name="fileName" value="<s:property value="seminarInfoDetail.fileName"/>"/>		
</form>
<form id="deleteForm2" method="POST" action="/seminar/seminarDeleteFile.desk">
	<input type="hidden" name="fileSeq2" value="<s:property value="seminarInfoDetail.fileSeq2"/>"/>
	<input type="hidden" id="seminarSeq" name="seminarSeq" value="<s:property value="seminarSeq"/>"/>
	<input type="hidden" id="pathName" name="pathName" value="<s:property value="seminarInfoDetail.pathName"/>"/>
	<input type="hidden" name="picName1" value="<s:property value="seminarInfoDetail.picName1"/>"/>
</form>
 <!-- 오른쪽 내용 시작 -->
<form name="seminar_mod_form" method="post" action="/seminar/seminarModify.desk" enctype="multipart/form-data">
<input type="hidden" id="seminarSeq" name="seminarSeq" value="<s:property value="seminarSeq"/>"/>
<input type="hidden" id="pageNumber" name="pageNumber" value="<s:property value="pageNumber"/>"/>
<input type="hidden" id="deskCode" name="deskCode" value="<s:property value="deskCode"/>"/>
<input type="text" name="fileSeq1" value="<s:property value="seminarInfoDetail.fileSeq1"/>"/>
<input type="text" name="fileSeq2" value="<s:property value="seminarInfoDetail.fileSeq2"/>"/>
<input type="text" id="pathName" name="pathName" value="<s:property value="seminarInfoDetail.pathName"/>"/>
      <dl class="Right_Contents_area">
        <dd class="Center_Top_title"> <span class="top_title"><img src="/images/report/seminar/SubContents_Tit_01.gif" width="370" height="42" alt="설명회/세미나 실적" /></span> <span class="top_navi">HOME > 업무보고 > 설명회/세미나 실적</span></dd>
        <dd>&nbsp;</dd>
        <dd class="Right_Contents_SearchDate">마지막 수정일 : <span class="TEXT_Red_Bold"><s:property value="%{seminarInfoDetail.modTime}"/></span></dd>
        <dd class="Center_Top_contents">
          <div id="LIst_Zone">
            <dl>
              <dd>
              <table class="Writeboard" border="1" cellspacing="0" summary="글 내용을 표시">
                <caption> 글 읽기</caption>
                <colgroup><col width="145px"><col width="245px"><col width="93px"><col width="240px"></colgroup>
                <tbody>
                  <tr>
                    <th scope="row" class="Top_line"><img src="/images/report/seminar/board_Icon_dot.gif" width="15" height="12" alt="" />개최일자 <span class="TEXT_Red_Bold">*</span></th>
                    <td class="Top_line"><input type="text" name="startDate" id="datepicker1" style="width:150px;" value="<s:property value="%{seminarInfoDetail.startDate}"/>"/></td>
                    <th scope="row" class="Top_line"><img src="/images/report/seminar/board_Icon_dot.gif" width="15" height="12" alt="" />참 석 자</th>
                    <td class="Top_line"><input type="text" name="attendCount" maxlength="10" style="width:80px;" value="<s:property value="%{seminarInfoDetail.attendCount}"/>"/>&nbsp;<label>명</label></td>
                  </tr>
                  <tr>
                    <th scope="row"><img src="/images/report/seminar/board_Icon_dot.gif" width="15" height="12" alt="" />설명회 주제 <span class="TEXT_Red_Bold">*</span></th>
                    <td colspan="3"><input type="text" name="seminarTitle" maxlength="50" style="width:540px;" value="<s:property value="%{seminarInfoDetail.seminarTitle}"/>"/></td>
                  </tr>
                  <tr>
                    <th scope="row"><img src="/images/report/seminar/board_Icon_dot.gif" width="15" height="12" alt="" />행사 주최</th>
                    <td colspan="3"><input type="text" name="seminarHost" maxlength="30" style="width:540px;" value="<s:property value="%{seminarInfoDetail.seminarHost}"/>"/></td>
                  </tr> 
                  <tr>
                    <th scope="row"><img src="/images/report/seminar/board_Icon_dot.gif" width="15" height="12" alt="" />행사 주관</th>
                    <td colspan="3"><input type="text" name="seminarSupervise" maxlength="30" style="width:540px;" value="<s:property value="%{seminarInfoDetail.seminarSupervise}"/>"/></td>
                  </tr> 
                  <tr>
                    <th scope="row"><img src="/images/report/seminar/board_Icon_dot.gif" width="15" height="12" alt="" />장   소 <span class="TEXT_Red_Bold">*</span></th>
                    <td colspan="3"><input type="text" name="place" maxlength="30" style="width:540px;" value="<s:property value="%{seminarInfoDetail.place}"/>"/></td>
                  </tr> 
                  <tr>
                    <th scope="row"><img src="/images/report/seminar/board_Icon_dot.gif" width="15" height="12" alt="" />주요내용 <span class="TEXT_Red_Bold">*</span></th>
                    <td colspan="3"><textarea name="discussIssue" cols="90" rows="5"><s:property value="%{seminarInfoDetail.discussIssue}"/></textarea></td>
                  </tr>                                                       
                  <tr>
                    <th scope="row" ><img src="/images/report/seminar/board_Icon_dot.gif" width="15" height="12" alt="" />보고서 첨부</th>
                    <td colspan="3" class="none_line">
                    	<c:if test="${!empty seminarInfoDetail.fileName}">
                    	<s:url id="download" namespace="/common" action="fileDownload.desk" includeParams="none">
                       		<s:param name="fileName"><s:property value="seminarInfoDetail.fileName"/></s:param>
                       		<s:param name="filePath"><s:property value="seminarInfoDetail.pathName"/></s:param>
                       	</s:url>
                       		<s:a href="%{download}" title="file"><s:property value="%{seminarInfoDetail.fileName}" escape="false"/></s:a>
                       		<span class="Icon_del">
                       			<a href="#"><img src="/images/report/promote/board_Icon_del.gif" alt="" width="12" height="15" border="0" align="absmiddle" id="seminarFileDel"/></a>
                       		</span>
                    	</c:if>
                    	<c:if test="${empty seminarInfoDetail.fileName}">
                    	<input type="file" name="upload" style="width:width:270px;"/>&nbsp;&nbsp;<span class="TEXT_Blue">(최대 40MB)</span>
                    	<s:fielderror cssClass="errorMessage">
	       	 				<s:param value="%{'upload'}" /> 
	   					</s:fielderror>
	   					</c:if>
                    </td>
                  </tr>
                  <tr>
                    <th scope="row" class="Bottom_line"><img src="/images/report/seminar/board_Icon_dot.gif" width="15" height="12" alt="" />관련사진 첨부</th>
                    <td colspan="3" class="Bottom_line" >
                    	<c:if test="${!empty seminarInfoDetail.picName1}">
                    	<s:url id="download" namespace="/common" action="fileDownload.desk" includeParams="none">
                       		<s:param name="picName1"><s:property value="seminarInfoDetail.picName1"/></s:param>
                       		<s:param name="filePath"><s:property value="seminarInfoDetail.pathName"/></s:param>
                       	</s:url>
                       		<s:a href="%{download}" title="file"><s:property value="%{seminarInfoDetail.picName1}" escape="false"/></s:a>
                       		<span class="Icon_del">
                       			<a href="#"><img src="/images/report/promote/board_Icon_del.gif" alt="" width="12" height="15" border="0" align="absmiddle" id="seminarPicDel"/></a>
                       		</span>
                    	</c:if>
                    	<c:if test="${empty seminarInfoDetail.picName1}">
                    	<input type="file" name="uploadPic" style="width:width:270px;"/>&nbsp;&nbsp;<span class="TEXT_Blue">(최대 40MB)</span>
                    	<s:fielderror cssClass="errorMessage">
	       	 				<s:param value="%{'uploadPic'}" /> 
	   					</s:fielderror>
	   					</c:if>
                    </td>
                  </tr>
                </tbody>
              </table> 
              </dd>
            </dl> 
            <dl class="List_Btn_area"><!-- 버튼 부분 -->
             <dd class="Left_Zone"><a href="/seminar/seminarList.desk?pageNumber=<s:property value="pageNumber"/>"><img src="/images/notice/btn_list.gif" alt="목록" width="52" height="26" border="0" /></a></dd>            
             <dd class="Right_Zone"><img src="/images/report/seminar/btn_edit.gif" id="btn_seminar_edit" width="163" height="26" alt="침해조사 상담일지 등록" style="cursor:pointer"/></dd>
            </dl><!-- 버튼 부분 -->           
          </div>
        </dd>
      </dl>
</form>
      <!-- 오른쪽 내용 끝 --> 
    </div>
  </div>
  <!-- center 나누어 지는 부분 끝 --> 
</div>
